﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace Ensynch.ILM2.Workflow.Activities
{
    public partial class GenerateOIDActivity
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            this.UpdateTarget = new Microsoft.ResourceManagement.Workflow.Activities.UpdateResourceActivity();
            this.IfUpdateParametersNotNull = new System.Workflow.Activities.IfElseBranchActivity();
            this.UpdateTarget_IfUpdateParametersNotNull = new System.Workflow.Activities.IfElseActivity();
            this.CalculateOID = new System.Workflow.Activities.CodeActivity();
            this.GetCurrentRequest = new Microsoft.ResourceManagement.Workflow.Activities.CurrentRequestActivity();
            // 
            // UpdateTarget
            // 
            this.UpdateTarget.ActorId = new System.Guid("00000000-0000-0000-0000-000000000000");
            this.UpdateTarget.Name = "UpdateTarget";
            activitybind1.Name = "GenerateOIDActivity";
            activitybind1.Path = "TargetId";
            this.UpdateTarget.UpdateParameters = null;
            this.UpdateTarget.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.UpdateResourceActivity.ResourceIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // IfUpdateParametersNotNull
            // 
            this.IfUpdateParametersNotNull.Activities.Add(this.UpdateTarget);
            codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this._updateParametersNotNull);
            this.IfUpdateParametersNotNull.Condition = codecondition1;
            this.IfUpdateParametersNotNull.Name = "IfUpdateParametersNotNull";
            // 
            // UpdateTarget_IfUpdateParametersNotNull
            // 
            this.UpdateTarget_IfUpdateParametersNotNull.Activities.Add(this.IfUpdateParametersNotNull);
            this.UpdateTarget_IfUpdateParametersNotNull.Name = "UpdateTarget_IfUpdateParametersNotNull";
            // 
            // CalculateOID
            // 
            this.CalculateOID.Name = "CalculateOID";
            this.CalculateOID.ExecuteCode += new System.EventHandler(this._calculateOID);
            // 
            // GetCurrentRequest
            // 
            activitybind2.Name = "GenerateOIDActivity";
            activitybind2.Path = "CurrentRequest";
            this.GetCurrentRequest.Name = "GetCurrentRequest";
            this.GetCurrentRequest.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.CurrentRequestActivity.CurrentRequestProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // GenerateOIDActivity
            // 
            this.Activities.Add(this.GetCurrentRequest);
            this.Activities.Add(this.CalculateOID);
            this.Activities.Add(this.UpdateTarget_IfUpdateParametersNotNull);
            this.Name = "GenerateOIDActivity";
            this.CanModifyActivities = false;

        }

        #endregion

        private IfElseBranchActivity IfUpdateParametersNotNull;
        private IfElseActivity UpdateTarget_IfUpdateParametersNotNull;
        private Microsoft.ResourceManagement.Workflow.Activities.UpdateResourceActivity UpdateTarget;
        private CodeActivity CalculateOID;
        private Microsoft.ResourceManagement.Workflow.Activities.CurrentRequestActivity GetCurrentRequest;







    }
}
